/*
 * ItemRentDAO.java
 *
 * Created on July 6, 2007, 4:16 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package com.abbh.libcommunity.dao;
import com.abbh.libcommunity.model.Item;
import com.abbh.libcommunity.model.User;
import com.abbh.libcommunity.model.UserRentedItems;
import com.abbh.libcommunity.model.UserHoldItems;

/**
 *
 * @author Atef A. Ahmed
 */
public interface ItemRentDAO {    
    
    public abstract void rent(User user,Item item);
    public abstract void renew(UserRentedItems itemId);
    public abstract void returns(UserHoldItems itemId);
    
    public abstract UserRentedItems findByItemId(Integer id);

    void update(UserRentedItems userRentedItems);
    
    
  
    
}
